package com.carbon.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 承运申请表(Test)表实体类
 *
 * @author makejava
 * @since 2023-09-05 15:36:48
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "Test对象", description = "承运申请表")
@TableName("carrier")
public class Carrier implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;



    /**
     * 单据号
     */
    @ApiModelProperty(value = "单据号")
    private String orderId;

    /**
     * 申请
     */
    @ApiModelProperty(value = "申请")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /**
     * 审核人
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "审核人")
    private String updateBy;

    /**
     * 审核日期
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "审核日期")
    private Date updateTime;

    /**
     * 申请日期
     */
    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "申请日期")
    private Date createTime;

    /**
     * 出库单号
     */
    @ApiModelProperty(value = "出库单号")
    private String outboundId;

    /**
     * 客户
     */
    @ApiModelProperty(value = "客户")
    private String customerName;

    /**
     * 收货地址
     */
    @ApiModelProperty(value = "收货地址")
    private String deliveryAddr;

    /**
     * 联系人
     */
    @ApiModelProperty(value = "联系人")
    private String contactName;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话")
    private String contactNumber;

    /**
     * 承运人
     */
    @ApiModelProperty(value = "承运人")
    private String carrier;

    /**
     * 交货日期
     */
    @ApiModelProperty(value = "交货日期")
    private Date deliveryTime;

    /**
     * 运输距离
     */
    @ApiModelProperty(value = "运输距离")
    private String distance;

    /**
     * 申请状态 0：待审核 1：已审核  2：未提交
     */
    @ApiModelProperty(value = "申请状态 0：待审核 1：已审核  2：未提交")
    private String createStatus;

    /**
     * 审核状态 0：驳回 1：审核通过
     */
    @ApiModelProperty(value = "审核状态 0：驳回 1：审核通过")
    private String updateStatus;
    /**
     * 发货单号
     */
    @ApiModelProperty(value = "发货单号")
    private String delivery_id;
    /**
     * 审核意见
     */
    @ApiModelProperty(value = "审核意见")
    private  String comments;

    private String addrCode;
    @TableField(exist = false)
    private List<String> deliveryAddrList;

}







